<%-- $RCSFile: CrmRatingEdit.aspx $
 Apache license v2 2011 by Christian Surieux
 $Source: ?/AddonNice/PageModules/CrmRating/CrmRatingEdit.aspx $
 $log$
 Revision 6 2010/08/09 10:51:20  christian.surieux
   Added Log comment to all .aspx .ascx .master files
 --%>
<%@ Page Language="c#" CodeBehind="CrmRatingEdit.aspx.cs" AutoEventWireup="False" Inherits="AddonNice.PageModules.CrmRating.CrmRatingEdit"  MasterPageFile="~/MasterPages/ADNProperties.Master" %>
<%@ Register Assembly="Telerik.Web.UI"    Namespace="Telerik.Web.UI" TagPrefix="Telerik" %>
<%@ Register TagPrefix="cc1" Namespace="AddonNice.UI.WebControls" Assembly="ADNCRM.Core" %>

<asp:Content  ID='Content0' runat='server' ContentPlaceHolderID='ContentTitle'>
    <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_DETAILS %>" id="Literal1" runat="server" />
</asp:Content>
<asp:Content ID="Content1" runat='server' ContentPlaceHolderID='ContentPlaceHolderButtons2'>
    <asp:PlaceHolder ID="PlaceHolderButtons2" runat="server" />
</asp:Content>
<asp:Content ID="Content2" runat='server' ContentPlaceHolderID='ContentSettingsTable'>
    <asp:ScriptManagerProxy ID="SCMPCrmRatingEdit" runat='server' />
    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" SelectedIndex='0'>
        <Tabs>
            <Telerik:RadTab runat="server" TabIndex='0' Text="<%$ Resources:ADNCRM,CRMRATING_RATING_PARAMS %>" PageViewID='RadPageView0' />
            <Telerik:RadTab runat="server" TabIndex='1' Text="<%$ Resources:ADNCRM,CRMRATING_ITEM %>" PageViewID='RadPageView1' />
        </Tabs>
    </Telerik:RadTabStrip>
    <Telerik:RadMultiPage ID="RadMultiPage1" runat="server" Width='100%' SelectedIndex='0'>
        <Telerik:RadPageView ID="RadPageView0" runat="server" style="width:100%;float:left;min-height:400px; margin:0;padding:0;border:0; position:relative;">
	        <table width="100%" cellspacing="0" cellpadding="0">
		        <tr>
			        <td style="width:100px">
				        <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_TITLERATING %>" id="Literal4" runat="server" />
			        </td>
			        <td>
				        <telerik:RadTextBox id="TbTitleRating" width="390px" maxlength="250" runat="server" />
			        </td>
			        <td  style="width:250px">
				        <asp:RequiredFieldValidator ErrorMessage="<%$ Resources:ADNCRM,ERROR_VALID_TITLE %>" id="RequiredTitleRating"
					        Display="Dynamic" ControlToValidate="TbTitleRating" runat="server"  EnableClientScript="false"/>
			        </td>
		        </tr>
		        <tr>
			        <td style="width:100px">
				        <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_STARTNUMBER %>" id="Literal6" runat="server" />
			        </td>
			        <td>
			            <Telerik:RadNumericTextBox ID='TbStarNumber' runat="server" width="390px" ShowSpinButtons="true" NumberFormat-DecimalDigits='0' MinValue='1' MaxValue='10' />
			        </td>
			        <td  style="width:250px">
			        </td>
		        </tr>
		        <tr>
			        <td style="width:100px">
				        <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_ENTITYNAME %>" id="Literal7" runat="server" />
			        </td>
			        <td>
    			        <Telerik:RadComboBox ID='CbEntityName' runat="server" width="390px" />
			        </td>
			        <td  style="width:250px">
			        </td>
		        </tr>
		        <tr>
			        <td style="width:100px">
				        <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_CAMPAIGN %>" id="Literal9" runat="server" />
			        </td>
			        <td>
    			        <cc1:RadWSCombo ID='CbRatingCampaign' WebServiceEntity="campaign" runat="server" width="390px" />
			        </td>
			        <td  style="width:250px">
			        </td>
		        </tr>
		        <tr>
			        <td style="width:100px">
				        <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_DESCRIPTIONRATING %>" id="Literal8" runat="server" />
			        </td>
			        <td colspan='2'>
				        <telerik:RadTextBox id="TbDescriptionRating" width="640px"  TextMode="MultiLine" Rows='4' runat="server" />
			        </td>
		        </tr>
	        </table>
	        <hr />
	        <span >
		        <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_CREATEDON %>"  id="OnLabel" runat="server"/>&nbsp;
		        <asp:label id="CreatedDate" runat="server"/>
	        </span>
        </Telerik:RadPageView>
        <Telerik:RadPageView ID="RadPageView1" runat="server" style="width:100%;float:left;min-height:400px; margin:0;padding:0;border:0; position:relative;">
	        <table width="100%" cellspacing="0" cellpadding="0">
		        <tr>
			        <td style="width:100px">
				        <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_TITLEDETAIL %>" id="Literal2" runat="server" />
			        </td>
			        <td>
				        <telerik:RadTextBox id="TbTitleRatingDetail" width="390px" Columns="30" maxlength="100" runat="server" />
			        </td>
			        <td  style="width:250px">
				        <asp:RequiredFieldValidator ErrorMessage="<%$ Resources:ADNCRM,ERROR_VALID_TITLE %>" id="RequiredTitleRatingDetail"
					        Display="Dynamic" ControlToValidate="TbTitleRatingDetail" runat="server"  EnableClientScript="false"/>
			        </td>
		        </tr>
		        <tr>
		            <td colspan='3'>
		                <div style="float:left;width:30%;">
		                    <div style="float:left;padding: 10px;">
			                    <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_ORDER %>" id="Literal3" runat="server" />
		                    </div>
		                    <div style="float:left;width:100px;">
		                        <Telerik:RadNumericTextBox ID='TbOrder' runat="server" width="100px" ShowSpinButtons="true" NumberFormat-DecimalDigits='0' />
		                    </div>
		                </div>
		                <div style="float:left;width:30%;">
		                    <div style="float:left;padding: 10px;">
			                    <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_TIMESRATED %>" id="Literal12" runat="server" />
		                    </div>
		                    <div style="float:left;width:100px;">
		                        <asp:Label ID='LblTimesRated' runat="server"  />
		                    </div>
		                </div>
		                <div style="float:left;width:30%;">
		                    <div style="float:left;padding: 10px;">
			                    <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_AVERAGERATED %>" id="Literal13" runat="server" />
		                    </div>
		                    <div style="float:left;width:100px;">
		                        <asp:Label ID='LblAverageRated' runat="server"  />
		                    </div>
		                </div>
		            </td>
		        </tr>
		        <tr>
			        <td style="width:100px">
				        <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_CAMPAIGN %>" id="Literal10" runat="server" />
			        </td>
			        <td>
    			        <cc1:RadWSCombo ID='CbDetailCampaign' WebServiceEntity="campaign" runat="server" width="390px" />
			        </td>
			        <td  style="width:250px">
			        </td>
		        </tr>
		        <tr>
			        <td style="width:100px">
				        <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_ASSOCENTITY %>" id="Literal11" runat="server" />
			        </td>
			        <td>
    			        <cc1:RadWSCombo ID='CbAssocEntity' WebServiceEntity="product" runat="server" width="390px" />
			        </td>
			        <td  style="width:250px">
			        </td>
		        </tr>
		        <tr>
			        <td colspan='3'>
				        <asp:Literal Text="<%$ Resources:ADNCRM,CRMRATING_DESCRIPTION %>" id="Literal5" runat="server" />
				        <br />
				        <asp:placeholder id="PlaceHolderHTMLEditor" runat="server" />
			        </td>
		        </tr>
	        </table>
        </Telerik:RadPageView>
    </telerik:RadMultiPage>
    <telerik:RadAjaxManagerProxy ID="RAMPRateEdit" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadTabStrip1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
</asp:Content>
<asp:Content ID="Content3" runat='server' ContentPlaceHolderID='ContentPlaceHolderButtons1'>
        <asp:placeholder id="PlaceHolderButtons" runat="server" />
</asp:Content>
